home *** CD-ROM | disk | FTP | other *** search
-
-
-
- ssssccccssssiiiimmmmooooddddeeeeppppaaaaggggeeee((((1111mmmm)))) ssssccccssssiiiimmmmooooddddeeeeppppaaaaggggeeee((((1111mmmm))))
-
-
-
- NNNNAAAAMMMMEEEE
- scsimodepage - display and edit Mode Pages for SCSI and Fibre Channel
- devices
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ssssccccssssiiiimmmmooooddddeeeeppppaaaaggggeeee [[[[----DDDD]]]] [[[[----BBBB BBBByyyytttteeee ffffrrrroooommmm SSSSttttaaaarrrrtttt ooooffff PPPPaaaaggggeeee]]]] [[[[----PPPP PPPPaaaaggggeeee NNNNoooo....]]]] [[[[----FFFF RRRReeeeffff....
- FFFFiiiieeeelllldddd NNNNoooo....]]]] [[[[----VVVV NNNNeeeewwww FFFFiiiieeeelllldddd////BBBByyyytttteeee VVVVaaaalllluuuueeee]]]] [[[[----oooo OOOOuuuuttttppppuuuutttt LLLLooooggggFFFFiiiilllleeee]]]] ----dddd _D_e_v_i_c_e
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- scsimodepage is an interactive utility for devices accessed using the _S_G_I
- _S_C_S_I subsystem. It sends a MMMMooooddddeeee SSSSeeeennnnsssseeee((((6666)))) command to the device to get the
- modepages, displays them in a tabular format, allows the user to change
- various fields in those pages and then sends a MMMMooooddddeeee SSSSeeeelllleeeecccctttt((((6666)))) command to
- the device to save the changed modepages. More information about the
- Mode Sense(6) and Mode Select(6) commands can be found in the SSSSCCCCSSSSIIII
- PPPPrrrriiiimmmmaaaarrrryyyy CCCCoooommmmmmmmaaaannnnddddssss----2222 ((((SSSSPPPPCCCC----2222)))) reference documents.
-
-
- OOOOPPPPTTTTIIIIOOOONNNNSSSS
- In the interactive mode scsimodepage is invoked with the ----dddd _d_e_v_i_c_e_n_a_m_e
- option. The device name must correspond to the 'sc' device. A logfile to
- store modepage modifications should also be specified using the ----oooo
- _l_o_g_f_i_l_e option. For example :
-
- ssssccccssssiiiimmmmooooddddeeeeppppaaaaggggeeee ----dddd ////ddddeeeevvvv////ssssccccssssiiii////sssscccc9999dddd77770000llll0000 ----oooo ttttaaaarrrrggggeeeetttt77770000....lllloooogggg
-
- If a logfile is not specified, modepage changes are stored in
- _s_c_s_i_m_o_d_e_p_a_g_e._l_o_g in the current working directory of the user. The
- logfile is intended to facilitate the user to make the same change on
- multiple devices (all supporting the modepages being edited). For
- example (assuming the logfile is target70.log):
-
- sssshhhh ttttaaaarrrrggggeeeetttt77770000....lllloooogggg ////ddddeeeevvvv////ssssccccssssiiii////sssscccc9999dddd77771111llll0000
-
- will copy the modepage changes made on sc9d70l0 to sc9d71l0.
-
-
- ----PPPP PPPPaaaaggggeeee NNNNoooo....
- specifies the number of the modepage to be edited. Both decimal and
- hex values (preceded by 0x) are acceptable.
-
-
- ----FFFF RRRReeeeffff.... FFFFiiiieeeelllldddd NNNNoooo....
- Specifies the Reference no. of the modepage field being edited.
- Cannot be used with the -B option. Both decimal and hex values
- (preceded by 0x) are acceptable.
-
-
- ----VVVV VVVVaaaalllluuuueeee
- The new value to be placed in the specified field/byte of the page.
- Both decimal and hex values (preceded by 0x) are acceptable.
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- ssssccccssssiiiimmmmooooddddeeeeppppaaaaggggeeee((((1111mmmm)))) ssssccccssssiiiimmmmooooddddeeeeppppaaaaggggeeee((((1111mmmm))))
-
-
-
- ----BBBB BBBByyyytttteeee NNNNoooo....
- Specifies the byte no. from the start of the page. Bytes are
- numbered starting from 0 and include the bytes forming the page
- header. This option cannot be used with the -F option. Both
- decimal and hex values (preceded by 0x) are acceptable.
-
-
- ----DDDD Load Default Values. This option changes the current values in the
- modepage ( specified using ----PPPP ) to their default values.
-
-
- In the interactive mode an invalid choice results in the default option
- (specified in []) being chosen. For example :
-
- DDDDoooo yyyyoooouuuu wwwwiiiisssshhhh ttttoooo mmmmooooddddiiiiffffyyyy tttthhhhiiiissss [[[[nnnn]]]] ::::
-
- Any keystroke other than 'y' or 'Y' will result in 'n' being chosen.
- Modepage changes can result in loss of system data and this facility
- ensures that the user is fully aware of the changes being made.
-
-
- EEEEXXXXAAAAMMMMPPPPLLLLEEEESSSS
- 1111)))) ssssccccssssiiiimmmmooooddddeeeeppppaaaaggggeeee ----PPPP 0000xxxx1111 ----FFFF 11116666 ----VVVV 0000xxxx1111000022224444 ----dddd <<<<ddddeeeevvvviiiicccceeee>>>>
-
- In this example Field 16 (in the tabular representation) of Page 1 gets
- changed to 0x1024.
-
- 2222)))) ssssccccssssiiiimmmmooooddddeeeeppppaaaaggggeeee ----PPPP 0000xxxx1111 ----BBBB 11116666 ----VVVV 0000xxxx22224444 ----dddd <<<<ddddeeeevvvviiiicccceeee>>>>
-
- In this example the 16th byte of Page 1 gets changed to 0x24.
-
- 3333)))) ssssccccssssiiiimmmmooooddddeeeeppppaaaaggggeeee ----PPPP 0000xxxx1111 ----DDDD ----dddd <<<<ddddeeeevvvviiiicccceeee>>>>
-
- In this example the current values of ModePage 1 are changed to their
- default values.
-
-
-
- FFFFIIIILLLLEEEESSSS
- /dev/scsi/sc*d*l* - the generic 'sc' scsi driver device
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- scsicontrol(1M), scsiha(1M), scsidiskformat(1M), scsidisktest(1M).
-
- NNNNOOOOTTTTEEEE
- This command is normally usable only by the superuser, because the
- standard permissions of the devices in /dev/scsi restrict access to other
- users.
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-